<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center supervise_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub supervise_fd0_0'>
					<view class='flex flex-wrap align-center supervise_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  supervise_fd0_0_c0_c0'>&#xE794;</text>
					</view>
					<view class='flex flex-wrap align-stretch justify-center'>
						<text class='supervise_fd0_0_c1_c0' v-if=" type=='1'">消防监督</text><text
							class='supervise_fd0_0_c1_c0' v-if=" type=='2'">环境卫生</text>
					</view>
					<view class='flex flex-wrap align-center justify-end supervise_fd0_0_c0'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<benben-popup v-model="popupShow1696476934920" :mask="true" :mask-close-able="true" mode='bottom'
				:z-index='999'>
				<!---flex布局flex布局开始-->
				<view class="flex benben-flex-layout flex-wrap align-center">
					<view class='flex flex-direction flex-wrap align-stretch supervise_fd1_0'>
						<view class='flex flex-wrap align-center justify-between supervise_fd1_0_c0'>
							<text class='supervise_fd1_0_c0_c0' @tap.stop="popupShow1696476934920=false">取消</text>
							<text class='supervise_fd1_0_c0_c1'>撤销监督</text>
							<text class='supervise_fd1_0_c0_c2' @tap.stop="popupShow1696476934920=false">确定</text>
						</view>
						<benben-select-diy ref="showSelectPopup1696476968600" class-name='flex flex-direction flex'
							:items.sync="supervise" v-model="id" default-type="value" default-label="name"
							:allow-cancel='false' type="radio" :disabled='false'>
							<template v-for='(item,key0) in supervise'>
								<view v-if="item.isSelected"
									class='flex align-center justify-between flex supervise_fd1_0_c1_c0' :key="key0"
									@tap="$refs.showSelectPopup1696476968600.tapHandle(key0)">
									<text class='supervise_fd1_0_c1_c0_c0'>{{item.name}}</text>
									<image class='supervise_fd1_0_c1_c0_c1' mode="aspectFit" :src='STATIC_URL+"8.png"'>
									</image>
								</view>
								<view v-else class='flex align-center justify-between flex supervise_fd1_0_c1_c0'
									:key="key0" @tap="$refs.showSelectPopup1696476968600.tapHandle(key0)">
									<text class='supervise_fd1_0_c1_c0_c0'>{{item.name}}</text>
									<image class='supervise_fd1_0_c1_c0_c1' mode="aspectFit" :src='STATIC_URL+"6.png"'>
									</image>
								</view>
							</template></benben-select-diy>
					</view>
				</view>

				<!---flex布局flex布局结束-->

			</benben-popup>
			<!---flex布局flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout supervise_flex_2">
				<view class='flex flex-direction flex-wrap align-stretch supervise_fd2_0'>
					<view class='flex flex-wrap align-center justify-between supervise_fd2_0_c0'>
						<text class='supervise_fd2_0_c0_c0'>监督定位</text>
						<view class='flex flex-wrap align-center'>
							<text class='supervise_fd2_0_c0_c1_c0'>河南省郑州市二七区</text>
							<image class='supervise_fd2_0_c0_c1_c1' mode="aspectFit" :src='STATIC_URL+"56.png"'></image>
						</view>
					</view>
					<view class='flex flex-direction flex-wrap align-stretch supervise_fd2_0_c0'>
						<view class='flex flex-wrap align-start supervise_fd2_0_c1_c0'>
							<text class='supervise_fd2_0_c1_c0_c0'>华城国际中心</text>
						</view>
					</view>
					<view class='flex flex-wrap align-center justify-between supervise_fd2_0_c0'>
						<text class='supervise_fd2_0_c0_c0' v-if=" id=='1'">房屋类型</text><text
							class='supervise_fd2_0_c0_c0' v-if=" id=='2'">建筑类型</text>
						<text class='supervise_fd2_0_c0_c0'>写字楼</text>
					</view>
					<view class='flex flex-direction flex-wrap align-stretch supervise_fd2_0_c0'>
						<text class='supervise_fd2_0_c3_c0'>存在隐患</text>
						<view class='flex flex-wrap align-start supervise_fd2_0_c1_c0'>
							<text class='supervise_fd2_0_c1_c0_c0'>灭火器数量不足</text>
						</view>
					</view>
					<view class='flex flex-direction flex-wrap align-stretch supervise_fd2_0_c4'>
						<view class='flex flex-wrap align-center supervise_fd2_0_c4_c0'>
							<text class='supervise_fd2_0_c4_c0_c0'>取证记录</text>
						</view>
						<view class='flex flex-wrap align-center supervise_fd2_0_c4_c1'>
							<view class='flex flex-wrap align-center supervise_fd2_0_c4_c1_c0'>
								<image class='supervise_fd2_0_c4_c1_c0_c0' mode="aspectFill" :src='STATIC_URL+"18.png"'>
								</image>
							</view>
							<view class='flex flex-wrap align-center supervise_fd2_0_c4_c1_c0'>
								<image class='supervise_fd2_0_c4_c1_c0_c0' mode="aspectFill" :src='STATIC_URL+"18.png"'>
								</image>
							</view>
							<view class='flex flex-wrap align-center supervise_fd2_0_c4_c1_c0'>
								<image class='supervise_fd2_0_c4_c1_c0_c0' mode="aspectFill" :src='STATIC_URL+"18.png"'>
								</image>
							</view>
						</view>
					</view>
				</view>
				<button class='supervise_fd2_1' @tap.stop="popupShow1696476934920=true"
					v-if=" status=='0'">撤回监督</button>
				<button class='supervise_fd2_1' v-if=" status=='1'">已受理</button>
			</view>

			<!---flex布局flex布局结束-->


		</view>
	</view>
</template>
<script>
	export default {
		components: {},


		data() {
			return {
				"popupShow1696476934920": false,
				"supervise": [{
					"name": "已做整改",
					"value": "1",
					"image": ""
				}, {
					"name": "点错了",
					"value": "2",
					"image": ""
				}, {
					"name": "其他原因",
					"value": "3",
					"image": ""
				}],
				"id": "1",
				"type": "1",
				status: '',
				aid:''
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {
			let {
				status,
				type,
				aid
			} = options
			if (status !== undefined) this.status = status
			if (type !== undefined) this.type = type
			if (aid !== undefined) this.aid = aid
			this.getInfo()
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			getInfo(){
				this.$api.post('/m6752/655ee1e0e0fa7',{
					id:this.aid
				}).then(res=>{
					console.log(res);
				})
			},
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #F8F8F8;
		background-size: 100% auto;
	}

	.supervise_flex_0 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.supervise_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333333;
		line-height: 36rpx;
	}

	.supervise_fd0_0_c0_c0 {
		font-size: 36rpx;
		color: #333;
	}

	.supervise_fd0_0_c0 {
		width: 120rpx;
	}

	.supervise_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.supervise_fd1_0_c1_c0_c1 {
		width: 36rpx;
		height: 36rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.supervise_fd1_0_c1_c0_c0 {
		color: #333333;
		font-size: 32rpx;
		font-weight: 400;
	}

	.supervise_fd1_0_c1_c0 {
		padding: 24rpx 0rpx 24rpx 0rpx;
	}

	.supervise_fd1_0_c0_c2 {
		color: #FC5F80;
		font-size: 32rpx;
		font-weight: 500;
		line-height: 40rpx;
	}

	.supervise_fd1_0_c0_c1 {
		color: #333333;
		font-size: 36rpx;
		font-weight: 500;
	}

	.supervise_fd1_0_c0_c0 {
		color: #999999;
		font-size: 32rpx;
		font-weight: 400;
		line-height: 40rpx;
	}

	.supervise_fd1_0_c0 {
		border-bottom: 1px solid #eee;
		padding: 32rpx 0rpx 32rpx 0rpx;
	}

	.supervise_fd1_0 {
		background: #FFFFFF;
		border-radius: 24rpx 24rpx 0rpx 0rpx;
		width: 750rpx;
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.supervise_flex_2 {
		padding: 24rpx 24rpx 0rpx 24rpx;
	}

	.supervise_fd2_1 {
		background: #FC5F80;
		border-radius: 60rpx 60rpx 60rpx 60rpx;
		width: 638rpx;
		line-height: 88rpx;
		font-size: 32rpx;
		color: #fff;
		height: 88rpx;
		font-weight: 500;
		margin: 0rpx 0rpx 32rpx 32rpx;
	}

	.supervise_fd2_0_c4_c1_c0_c0 {
		width: 210rpx;
		height: 210rpx;
		border-radius: 16rpx;
	}

	.supervise_fd2_0_c4_c1_c0 {
		width: 210rpx;
		height: 210rpx;
		position: relative;
		margin: 0rpx 12rpx 0rpx 0rpx;
	}

	.supervise_fd2_0_c4_c1 {
		margin: 0rpx -12rpx 0rpx 0rpx;
	}

	.supervise_fd2_0_c4_c0_c0 {
		color: #333333;
		font-size: 32rpx;
		font-weight: 400;
		margin: 0rpx 16rpx 0rpx 0rpx;
	}

	.supervise_fd2_0_c4_c0 {
		margin: 0rpx 0rpx 24rpx 0rpx;
	}

	.supervise_fd2_0_c4 {
		padding: 32rpx 0rpx 32rpx 0rpx;
	}

	.supervise_fd2_0_c3_c0 {
		color: #333333;
		font-size: 32rpx;
		font-weight: 400;
		margin: 0rpx 0rpx 24rpx 0rpx;
	}

	.supervise_fd2_0_c1_c0_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 44rpx;
	}

	.supervise_fd2_0_c1_c0 {
		background: #F8F8F8;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		height: 220rpx;
		padding: 24rpx;
	}

	.supervise_fd2_0_c0_c1_c1 {
		width: 28rpx;
		height: 28rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 0rpx 0rpx 16rpx;
	}

	.supervise_fd2_0_c0_c1_c0 {
		color: #666666;
		font-size: 32rpx;
		font-weight: 400;
	}

	.supervise_fd2_0_c0_c0 {
		color: #333333;
		font-size: 32rpx;
		font-weight: 400;
	}

	.supervise_fd2_0_c0 {
		border-bottom: 1px solid #eee;
		padding: 32rpx 0rpx 32rpx 0rpx;
	}

	.supervise_fd2_0 {
		background: var(--benbenbgColor1);
		margin: 0rpx 0rpx 32rpx 0rpx;
		padding: 0rpx 23rpx 0rpx 25rpx;
		border-radius: 16rpx;
		background-size: 100% auto;
	}
</style>